package com.s64.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.s64.entity.Book;
import org.apache.ibatis.annotations.Param;

public interface BookMapper extends BaseMapper<Book> {
    int updateAmount(@Param("bookId") Long bookId, @Param("amount") int amount);
}
